package codeine.peers_status;

import javax.inject.Inject;
import javax.inject.Provider;

import codeine.configuration.PathHelper;
import codeine.configuration.directory.PeersListJson;
import codeine.version.PersistentFileJsonProvider;

public class PeersListProvider extends PersistentFileJsonProvider implements Provider<PeersListJson>{

	@Inject
	private PathHelper pathHelper;
	
	@Override
	public PeersListJson get() {
		return get(pathHelper.getPeersListFile(), PeersListJson.class, new PeersListJson());
	}

}
